html {
  font-size: 62.5%;
  height: 100%;
}

.site-poster-container.opened {
  visibility: visible;
  background-color: rgba(0, 0, 0, 0.5);
  transition-delay: 0s;
  .site-poster-content {
    will-change: auto;
    visibility: visible;
    -webkit-transform: translateY(0);
    transform: translateY(0);
    overflow: hidden;
  }
}
.site-poster-container {
  visibility: hidden;
  position: fixed;
  top: 0;
  left: 0;
  font-size: 1.4rem;
  width: 100%;
  min-width: 32rem;
  height: 100%;
  background-color: transparent;
  transition: background-color 0.4s, visibility 0.4s;
  transition-delay: 0s, 0s;
  transition-delay: 0.4s;
  z-index: 994;
  .site-poster-content {
    visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    width: 100%;
    min-width: 32rem;
    height: 100%;
    top: 0;
    left: 0;
    padding: 3rem;
    padding-bottom: 3rem;
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
    transition: visibility 0.6s,
      -webkit-transform 0.6s cubic-bezier(0.85, 0, 0.15, 1);
    transition: transform 0.6s cubic-bezier(0.85, 0, 0.15, 1), visibility 0.6s;
    transition: transform 0.6s cubic-bezier(0.85, 0, 0.15, 1), visibility 0.6s,
      -webkit-transform 0.6s cubic-bezier(0.85, 0, 0.15, 1);
    .scroll-content {
      width: 100%;
    }
    .card {
      position: relative;
      color: #333;
      width: 100%;
      max-width: 40rem;
      height: auto;
      margin: 0 auto;
      background-color: #f4f4f4;
      border-radius: 2rem;
      overflow: hidden;
      .close {
        visibility: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
        position: absolute;
        top: 0.5rem;
        right: 0.5rem;
        width: 4rem;
        height: 4rem;
        transition: 0.4s, visibility 0.4s;
        transition-delay: 0s, 0s;
        transition-delay: 0.2s;
        opacity: 0;
        cursor: pointer;
        .icon {
          position: relative;
          width: 3rem;
          height: 3rem;
          background-color: rgba(0, 0, 0, 0.2);
          border-radius: 100%;
          box-shadow: inset 0 0 0 0.1rem rgba(255, 255, 255, 0.1);
        }
        .icon::before,
        .icon::after {
          content: "";
          position: absolute;
          top: 0;
          bottom: 0;
          left: 0;
          right: 0;
          margin: auto;
          width: 1.4rem;
          height: 0.2rem;
          background-color: #fff;
        }
        .icon::before {
          -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
        }
        .icon::after {
          -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
        }
      }
    }
    .card.active .close {
      visibility: visible;
      opacity: 1;
      z-index: 9;
    }
    .card::after {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      border-radius: 2rem;
      box-shadow: inset 0 0 0 0.1rem rgba(255, 255, 255, 0.1);
      pointer-events: none;
    }
  }
}

.bg {
  position: relative;
  width: 400px;
  img {
    display: block;
    width: 100%;
    height: auto;
  }
  .meat {
    position: absolute;
    bottom: 10px;
    right: 10px;
    color: white;
    font-size: 20px;
    text-align: right;
    p {
      margin: 0;
    }
    p:first-child {
      font-size: 30px;
    }
  }
}
.content {
  text-align: center;
  padding: 30px;
  h2 {
    margin: 10px 0;
    font-weight: bold;
  }
  .meat {
    line-height: 1.4em;
    margin-top: 40px;
    color: #a5a5a5;
  }
  .qr {
    margin-top: 60px;
    color: #a5a5a5;
    img {
      width: 70px;
    }
    p {
      margin: 10px 0;
      font-size: 12px;
    }
  }
}
